package com.xiaoshuidi.cloud.module.rooms.controller.admin.roomel.vo;

import com.xiaoshuidi.cloud.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;

@Schema(description = "查询请求对象")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RoomelQueryReqVO extends PageParam {

    @Schema(description = "主键id")
    private Long id;

    @Schema(description = "搜索框")
    private String searchbox;

    @Schema(description = "公共小区id")
    private Long roomAreaId;

    @Schema(description = "小区名")
    private String apartmentAreaName;

    @Schema(description = "小区id")
    private Long apartmentAreaId;

    @Schema(description = "公寓id")
    private Long apartmentId;

    @Schema(description = "楼栋号")
    private String buildingNo;

    @Schema(description = "单元号")
    private String unitNo;

    @Schema(description = "当前楼层")
    private Integer floorNo;

    @Schema(description = "户型ID")
    private Long roomHouseTypeId;

    @Schema(description = "房型ID")
    private Long layoutId;

    @Schema(description = "房态")
    private String houseState;

    @Schema(description = "房间名")
    private String roomHouseName;

    @Schema(description = "查询类型（true：集中式。false：分散式）")
    private Boolean qflag;

    @Schema(description = "是否锁定")
    private Boolean isLock;

    @Schema(description = "是否存在合同信息")
    private Boolean isHasContractInfo;

    @Schema(description = "房源类型(用途): 办公室、住房")
    private String roomUsage;

    @Schema(description = "净房还是脏房")
    private Boolean isClean;

    @Schema(description = "是否维修房")
    private Boolean isRepair;



    @Schema(description = "分散式房源是否只返回主房源信息")
    private Boolean returnMainRoom;
}
